package com.briup.corejava.day09.pojo;

/**
 * 图形实体类
 */
public abstract class Shape {
    private String name;
    public Shape(String name){
        this.name = name;
    }
    // 抽象方法
    public abstract double getArea();
}
